<?php 

/**
 * API方法,命名空间
 *
 * @category APPS
 * @package Common
 * @copyright Copyright (c) 2012 Mr.Asong (http://mrasong.net)
 * @license GNU General Public License 2.0
 * @version $Id$
 */
class Global_Common{

	/** 程序版本 */
	const VERSION = '0.1/12.5.29';
	
    /**
     * 默认编码
     *
     * @access public
     * @var string
     */
    public static $charset = 'UTF-8';
	
    /**
     * 加载文件
     *
     * @access public
     * @var string
     */
	public static function loadFile($className){
		$classPath = str_replace('_', DIRECTORY_SEPARATOR, $className) . '.php';
		$filePath =  __APPS__ . $classPath ;
		@require_once $filePath;
	}
	
    /**
     * 程序初始化方法
     *
     * @access public
     * @return void
     */
    public function init(){
        /** 输出logo */
        if (isset($_GET['FC84-052B-9BEE-D7A8-647B-F46A-F2A5-8C10'])) {
            header('content-Type: image/gif', true);
            die(base64_decode('iVBORw0KGgoAAAANSUhEUgAAAJgAAAAoCAMAAAA11sNmAAAAA3NCSVQICAjb4U/gAAAA81BMVEX////////////////////////////////////////////x8/Xx8fHw8vT47u7h5+rl5eXU2+DX19fEz9XMzMy3xMu9vb2mtr+ysrKwsLCarLfXnJyWqbSlpaWLn6yZmZnRi4t9lKKMjIzKe3tshpZ9fX1gfY2/X19ScYNmZma5T09DZXhZWVmyPz/////x8/Xx8fHh5+rl5eXU2+DX19fEz9XMzMy3xMu9vb2mtr+ysrKarLelpaWLn6yZmZl9lKKMjIxshpZ9fX1gfY1ycnJScYNmZmZDZXhZWVmyPz81WW5MTEwnTWQ/Pz8ZQlozMzOZAACvS3tpAAAAUXRSTlMAESIzRFVmd4iZqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqu7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7tZUCnWAAAACXBIWXMAAAsSAAALEgHS3X78AAAAFnRFWHRDcmVhdGlvbiBUaW1lADEyLzA0LzExpJZgVwAABBF0RVh0WE1MOmNvbS5hZG9iZS54bXAAPD94cGFja2V0IGJlZ2lu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AgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg/WvYqwAAAB90RVh0U29mdHdhcmUATWFjcm9tZWRpYSBGaXJld29ya3MgOLVo0ngAAAanSURBVFiFzVh9Xxo5EC67sLuJcghLxaMWaw9brddQapFapYp0QSnu9vt/mptnkuwLWmn9nXfmH5IhmTyZzDwz2WfPnnYruW7ZdUtFQVFyz8pfmvig5pQ93/e9slMU5CX3rvyFiQ9qpbIXCCGCVL0RQHK/KX554sOa6wV/7k0P9oRVT4KNnen0YCPw3FUrw04U7VdXTXwgMF8cJNRSHCRoQrAp/BXAfNGJqbWFX34EYGVffAWO11Y9CY4h+LpivxJNHADYTAaVR/Ayi+O7UV+ySFcBcyqBHANYXBePcZcWB10dq8d+3zGergDmemJtwcC6NPPfd38C9o2B7Wn1tN9Wsgys5LjuMl/RwjbjihdrOZM5RVZ0lknyDnV6jlNisZXi5q4YSLIO9RizwZIb4VewhFvFW+YrWHYexxGQtewZSi7PpKm8wa2h0WbUFedUIPbSTaBf40q2YDIyWNOMZeDxErQi1aHRxDCOJ8O8+4NxmdoEn6IwdB23bLVp6dKcgMVBxloAwja7IvVuhdmDbdYQgV5CTa43m+six6SwbDeOT9QcyGp8lw4YV9bDQVjHBi4PazSsAUWl4mfq6mF+DpasSRZXc6z1MknObjQS3/PFBt0ih0NTStl4eUmgz77ADW/ylEsHqpF3KXUOYLswNuES9a6Oh3ibdVU7jDuedwROWW+PZ3F8fjLhSfM6z6l19YrZCOKOZU86+GWSHF9oKgto9V6SXDKBfFHqOMm3nRzllpldx0r12f1hbMLVim3bJwOI+iIdH65JGcbFNq/SnFZRZoHhRqZJ8ukTu7uUQpLBko+aYZX6NNWBkNwsATOuf6SUsu5PvlJDd9TvEb1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WUO2HIyaf2nHJUW5daXGuFnRFlZl0q4iEahlUKa/qHarC+MvyVtd20uPBs1Zh2nZzYzYQZj5EPBoX3t6NnUWrwTSGoy3BUp+nYzW+hV4BeyMcWo4iaBhhZ7ufPD9rjct2sv/w/D/Iz81pcWzybch71vJcfZwu5R8GAyOVUSZXHOA8MDwT7Msl1s37xf5srl99MVqCfG7n/lr4HZQtLfNOc9ofKIOOYWfH8/09aWWf3hSYLjun643wH+c1mP37Ek9PB8BxO1hKP8+Xod4ERzyxyIbkArkf51vabDTwTZsi6tSeCi2NTVNvIAYtJu7b0ov5fm2PIMUd+T6Q52WcDS3ZPpKUfWvLE+A8EswObbP01CgAAAABJRU5ErkJggg=='));
        }
		
		if( !__REWRITE__ ){
			
			echo "fuck";

		}

		self::loadFile("Global_Router");
		
		Global_Router::getAction();

	}
	
	
}//end class